package com.ykl.demo.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import javax.validation.constraints.Digits;
import java.math.BigDecimal;
import java.util.Date;

@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class RoomExportCvsModel {

    private String roomId;

    private String address;

    private String chinaName;

    private String classId;

    private String stationName;
    private String typeId;
    @Digits(integer = 3, fraction = 6)
    private BigDecimal x;
    @Digits(integer = 3, fraction = 6)
    private BigDecimal y;
    private Date startUseDate;
}
